/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.imenu;

import com.imenu.entity.ImenuUser;
import com.imenu.entity.ImenuMenu;
import javax.inject.Named;
import javax.enterprise.context.SessionScoped;
import java.io.Serializable;

/**
 *
 * @author Yunzi
 */
@Named(value = "userInSession")
@SessionScoped
public class UserInSession implements Serializable {
    private ImenuUser imenuUser;
    private ImenuMenu menu;
    
    
    /** Creates a new instance of UserInSession */
    public UserInSession() {
    }

    public ImenuUser getImenuUser() {
        return imenuUser;
    }

    public void setImenuUser(ImenuUser imenuUser) {
        this.imenuUser = imenuUser;
    }

    public ImenuMenu getMenu() {
        return menu;
    }

    public void setMenu(ImenuMenu menu) {
        this.menu = menu;
    }
}
